﻿using System;

namespace aopSample.Desktop.Services
{
    public interface ISimpleService
    {
        void DoSomethingComplex();
    }

    public class SimpleService : ISimpleService
    {

        public void DoSomethingComplex()
        {
            Console.Out.WriteLine("Estoy en el servicio...");
            //throw new ApplicationException("Lanzando una excepcion");
        }
    }
}
